from flask import current_app,jsonify
from flask_restful import reqparse
from views.admin import BaseView
from models.model import UserModel
from werkzeug.security import generate_password_hash,check_password_hash
import jwt
import time
import random



